package com.atguigu.gulimall.product.Feign;

import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value="gulimall-seckill")
public interface SeckillFeignClient {

    //查询skuId商品的秒杀预告信息
    @GetMapping("sku/skuInfo/{skuId}")
    R getSkuSeckillInfo(@PathVariable("skuId") Long skuId);
}
